projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
000ab71
)
Include systty.h.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 25 Dec 1993 01:45:14 +0000
(
01:45
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 25 Dec 1993 01:45:14 +0000
(
01:45
+0000)
(child_setup): Use EMACS_SET_TTY_PGRP.
src/callproc.c
patch
|
blob
|
history
diff --git
a/src/callproc.c
b/src/callproc.c
index d46d8a3249818f09b7f8257cc08d35c5cb4fa292..36f0d866ee34254400acf007a06d51fde5a95c54 100644
(file)
--- a/
src/callproc.c
+++ b/
src/callproc.c
@@
-55,6
+55,7
@@
extern char *sys_errlist[];
#include <paths.h>
#include "process.h"
#include "syssignal.h"
+#include "systty.h"
#ifdef VMS
extern noshare char **environ;
@@
-537,7
+538,8
@@
child_setup (in, out, err, new_argv, set_pgrp, current_dir)
#else
setpgrp (pid, pid);
#endif /* USG */
- setpgrp_of_tty (pid);
+ /* setpgrp_of_tty is incorrect here; it uses input_fd. */
+ EMACS_SET_TTY_PGRP (0, &pid);
#ifdef vipc
something missing here;